class Api {
    async pagesA(ctx, next) {
        console.log(ctx.params);
        console.log(ctx.query)
        console.log(ctx.request.query)
        ctx.body = "this is get page Api/a "
    }

    async pagesB(ctx, next) {
        // console.log("this is api/b/ post data", ctx.params)
        console.log(ctx.request.body)
        // console.log(ctx.request)
        ctx.body = "this is get page Api/b "
    }
}

module.exports = new Api();